import App from './App'
import store from './store'

// #ifndef VUE3
import Vue from 'vue'
// import Wx from 'wx-sdk'
// import jWeixin from './libs/jweixin-module.js'
// import jWeixin from 'jweixin-module'
// import jWeixin from 'weixin-js-sdk'
Vue.config.productionTip = false
Vue.prototype.$store = store
Vue.prototype.$adpid = ''
Vue.prototype.$mainName = '天眼感知'
Vue.prototype.$companyName = '广州天眼感知科技有限公司'
// Vue.prototype.$wx = jWeixin
App.mpType = 'app'
const app = new Vue({
	store,
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	app.use(store)
	app.config.globalProperties.$adpid = ''
	app.config.globalProperties.$mainName = '天眼感知'
	app.config.globalProperties.$companyName = '广州天眼感知科技有限公司'
	return {
		app
	}
}
// #endif
